home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / include / vms / utmp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-14  |  540 b   |  32 lines

  1. /*
  2.  *    @(#)utmp.h    5.11 (Berkeley) 4/3/91
  3.  *
  4.  * 24-DEC-92 Modified for use with VMS-fsp
  5.  */
  6.  
  7. #ifndef    _UTMP_H_
  8. #define    _UTMP_H_
  9.  
  10. #define    _PATH_UTMP    "/var/run/utmp"
  11. #define    _PATH_WTMP    "/var/log/wtmp"
  12. #define    _PATH_LASTLOG    "/var/log/lastlog"
  13.  
  14. #define    UT_NAMESIZE    8
  15. #define    UT_LINESIZE    8
  16. #define    UT_HOSTSIZE    16
  17.  
  18. struct lastlog {
  19.     time_t    ll_time;
  20.     char    ll_line[UT_LINESIZE];
  21.     char    ll_host[UT_HOSTSIZE];
  22. };
  23.  
  24. struct utmp {
  25.     char    ut_line[UT_LINESIZE];
  26.     char    ut_name[UT_NAMESIZE];
  27.     char    ut_host[UT_HOSTSIZE];
  28.     long    ut_time;
  29. };
  30.  
  31. #endif /* !_UTMP_H_ */
  32.